import Layout from '@/layout'

export default [{
    path: '/teacher/add_message',
    component: Layout,
    meta: {
        title: '发布任务与通知',
        breadcrumb: false,
        icon: 'add-message'
    },
    children: [
        {
            path: '',
            name: 'add.message',
            meta: {
                title: '发布任务与通知',
                sidebar: false,
                activeMenu: '/teacher/add_message'
            },
            component: () => import(/* webpackChunkName: \'teacher\' */ '@/views/teacher/add.message')
        }
    ]
}, {
    path: '/teacher/add_task',
    component: Layout,
    meta: {
        sidebar: false
    },
    children: [
        {
            path: '',
            name: 'add.task',
            component: () => import(/* webpackChunkName: 'school' */ '@/views/teacher/add.task'),
            meta: {
                sidebar: false,
                activeMenu: '/teacher/add_task'
            }
        }
    ]
}, {
    path: '/teacher/manage_message',
    component: Layout,
    meta: {
        title: '管理已发布消息（已发送）',
        breadcrumb: false,
        icon: 'manage-message'
    },
    children: [
        {
            path: '',
            name: 'manage.message',
            meta: {
                title: '管理已发布消息（已发送）',
                sidebar: false,
                activeMenu: '/teacher/manage_message'
            },
            component: () => import(/* webpackChunkName: \'teacher\' */ '@/views/teacher/manage.message')
        }
    ]
}, {
    path: '/teacher/task_details',
    component: Layout,
    meta: {
        sidebar: false
    },
    children: [
        {
            path: '',
            name: 'teacher.task.details',
            component: () => import(/* webpackChunkName: 'school' */ '@/views/teacher/task.details'),
            meta: {
                sidebar: false,
                activeMenu: '/teacher/manage_message'
            }
        }
    ]
}, {
    path: '/teacher/notice_details',
    component: Layout,
    meta: {
        sidebar: false
    },
    children: [
        {
            path: '',
            name: 'teacher.notice.details',
            component: () => import(/* webpackChunkName: 'school' */ '@/views/teacher/notice.details'),
            meta: {
                sidebar: false,
                activeMenu: '/teacher/manage_message'
            }
        }
    ]
}, {
    path: '/teacher/receive_message',
    component: Layout,
    meta: {
        title: '接收任务与通知（已接收）',
        breadcrumb: false,
        icon: 'receive-message'
    },
    children: [
        {
            path: '',
            name: 'receive.message',
            meta: {
                title: '接收任务与通知（已接收）',
                sidebar: false,
                activeMenu: '/teacher/receive_message'
            },
            component: () => import(/* webpackChunkName: \'teacher\' */ '@/views/teacher/receive.message')
        }
    ]
}, {
    path: '/teacher/receive_message_detail',
    component: Layout,
    meta: {
        sidebar: false
    },
    children: [
        {
            path: '',
            name: 'receive.message.detail',
            component: () => import(/* webpackChunkName: 'school' */ '@/views/teacher/receive.message.detail'),
            meta: {
                sidebar: false,
                activeMenu: '/teacher/receive_message'
            }
        }
    ]
}, {
    path: '/teacher/class_information',
    component: Layout,
    meta: {
        title: '查询班级基本信息',
        breadcrumb: false,
        icon: 'class-info'
    },
    children: [
        {
            path: '',
            name: 'class.information',
            meta: {
                title: '查询班级基本信息',
                sidebar: false,
                activeMenu: '/teacher/class_information'
            },
            component: () => import(/* webpackChunkName: \'teacher\' */ '@/views/teacher/class.information')
        }
    ]
}]
